<!doctype html>
<html lang="zh">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="renderer" content="webkit" />
    <meta name="description" content="A Modern Back-end Management System" />
    <meta name="keywords" content="Vben Admin Vue3 Vite" />
    <meta name="author" content="Vben" />
    <meta
      name="viewport"
      content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0"
    />
    <!-- 由 vite 注入 VITE_APP_TITLE 变量，在 .env 文件内配置 -->
    <title><%= VITE_APP_TITLE %></title>
    <link rel="icon" href="/favicon.ico" />
    <style lang="scss">
      .el-backtop {
        z-index: 999;
      }

      #cozeweb-box {
        position: absolute;
        top: -3px;
        z-index: 10;
        visibility: hidden;

        .fda3723591e0b38e7e52 {
          &:hover {
            transform: none;
          }

          &:hover::after {
            position: absolute;
            bottom: -20px;
            left: -5px;
            padding: 5px 11px;
            font-size: 12px;
            white-space: nowrap;
            content: '小工同学';
            background-color: white;
            border: 1px solid #e4e7ed;
          }
        }

        .fda3723591e0b38e7e52 > img {
          width: 32px;
          height: 32px;
          content: url('https://srm.ci2c.com.cn/api/admin/sys-file/uploaded/ci2c/g2s/2024/12/03/dc5e5d8251c344f08b0dca598c8a8e11.png') !important;
        }
      }
    </style>
    <script>
      // 生产环境下注入百度统计
      if (window._VBEN_ADMIN_PRO_APP_CONF_) {
        var _hmt = _hmt || [];
        (function () {
          var hm = document.createElement('script');
          hm.src =
            'https://hm.baidu.com/hm.js?97352b16ed2df8c3860cf5a1a65fb4dd';
          var s = document.getElementsByTagName('script')[0];
          s.parentNode.insertBefore(hm, s);
        })();
      }
    </script>
  </head>
  <body>
    <div id="app"></div>
    <script type="module" src="/src/main.ts"></script>
    <script src="https://lf-cdn.coze.cn/obj/unpkg/flow-platform/chat-app-sdk/0.1.0-beta.5/libs/cn/index.js"></script>
    <script>
      new CozeWebSDK.WebChatClient({
        config: {
          bot_id: '7439603389069328424',
        },
        componentProps: {
          title: '小工助手',
          icon: 'https://srm.ci2c.com.cn/api/admin/sys-file/uploaded/ci2c/g2s/2024/10/12/5b16bf415a794f8d8f6b24a6462a131d.png',
          lang: 'zh-CN',
          width: '800px',
        },
        el: document.getElementById('cozeweb-box'),
      });
    </script>
  </body>
</html>
